
<div style="float: left;">
<div class="ui-corner-top side_menu" style="width:100%;">Add Schedule for <?= $section->section_name ;?>: Select Grade Level</div>
<div style="border:1px solid #286bcc;overflow-x:scroll;width:850px;">
<div>
	<div>&nbsp;</div>
	<div>
  <a href="<?php echo site_url('admin/schedule_by_section/' . $section->id)?>">Back to View Sections</a>
	<?if(isset($system_message))echo $system_message;?>
	<?php 
  $grade_level_select = array(''=>'Select Grade Level...');
	$formAttrib = array('id' => 'select_grade_level', 'class' => 'admin-form');
	
  foreach($grade_levels as $grade_level){
    $grade_level_select[$grade_level->level_id] = strtoupper($grade_level->level_code).' - '.$grade_level->level_desc;
  }
  echo form_open('admin/select_grade_level_for_schedule', $formAttrib);
 ?>
 
  <div class="input-block">
		<?php echo form_label('Select Grade Level :', 'grade_level_id');?>
		<?php
		echo form_dropdown('grade_level_id', $grade_level_select);	
		echo form_hidden('section_id', $section->id);	
		?>
	</div>
	
	<div class="input-block" style="clear:both;">
   		<?php echo form_submit('submit', 'submit'); ?>
	</div>
	</div>
	<div class="clearfloat"></div>
</div>

<div>&nbsp;</div>
</div>

